package designPattern.obsever.moreShowType
{
	import flash.errors.IllegalOperationError;
	import designPattern.obsever.baseObserver.Observer_A;

	public class Observer_MoreShowBase extends Observer_A
	{
		//抽象类
		public function Observer_MoreShowBase(oName:String)
		{
			super(oName);
		}
		
		override public function update(attr_a:String, attr_b:int):void
		{
			super.update(attr_a, attr_b);
			showType();
		}
		
		//抽象函数
		protected function showType():void
		{
			throw new IllegalOperationError("必须被override");	
		}
	}
}